/*** 
 * @Author: LVGRAPE
 * @Date: 2023-12-13 15:25:00
 * @LastEditTime: 2023-12-13 15:46:11
 * @LastEditors: LVGRAPE
 * @Description: 
 * @FilePath: \zino-fc-v4\ZINO\hardware\Icm426xx\platform\icm42688p_read_polling.h
 * @要啥没啥，爱咋咋的
 */

#ifndef __ICM42688P_READ_POLLING_H_
#define __ICM42688P_READ_POLLING_H_
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus

#include <stdint.h>

int icm42688p_read_polling_init(void);
int icm42688p_accel_read_polling(int32_t *ax, int32_t *ay, int32_t *az);
int icm42688p_gyro_read_polling(int32_t *gx, int32_t *gy, int32_t *gz);
int icm42688p_gyroraw_read_polling(int16_t *gx, int16_t *gy, int16_t *gz);
int icm42688p_accraw_read_polling(int16_t *ax, int16_t *ay, int16_t *az);

#ifdef __cplusplus
}
#endif // __cplusplus
#endif
